package com.ruoyi.system.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.domain.vo.YhCommissionRecordVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.YhCommissionRecordMapper;
import com.ruoyi.system.domain.YhCommissionRecord;
import com.ruoyi.system.service.IYhCommissionRecordService;

import java.util.List;

/**
 * 佣金记录Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-06-06
 */
@Service
public class YhCommissionRecordServiceImpl extends ServiceImpl<YhCommissionRecordMapper, YhCommissionRecord> implements IYhCommissionRecordService
{

    @Autowired
    private YhCommissionRecordMapper commissionRecordMapper;

    @Override
    public List<YhCommissionRecordVo> listByMember(YhCommissionRecord yhCommissionRecord) {
        return commissionRecordMapper.listByMember(yhCommissionRecord.queryWrapper());
    }
}
